package com.wsoft.cms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 新闻公告附件表
 * </p>
 *
 * @author juiet
 * @since 2024年11月27日 10:38:08
 */
@Getter
@Setter
@TableName("cms_announcement_file")
@Schema(name = "CmsAnnouncementFileEntity", description = "新闻公告附件表")
public class CmsAnnouncementFileEntity extends BaseEntity {

    @Schema(description = "公告id")
    @TableField("anno_id")
    private Long annoId;

    @Schema(description = "附件(id+name)")
    @TableField("file")
    private String file;

    @Schema(description = "排序")
    @TableField("sort")
    private Integer sort;
}
